import torch
import torch.nn as nn

if __name__ == "__main__":
    loss = nn.BCELoss()
    input = torch.tensor([0, 0, 0.0], dtype=torch.float32)
    y = torch.ones(input.shape, dtype=torch.float32)
    print(loss(input, y))
